package com.mangatta.ec2.adaptor;

import android.content.Context;
import android.widget.SimpleAdapter;
import com.mangatta.ec2.util.InstanceAlertMap;

import java.util.List;
import java.util.Map;

public class InstanceAlertAdaptor extends SimpleAdapter {
    private List<InstanceAlertMap> instanceAlertMaps;

    public InstanceAlertAdaptor(Context context, List<? extends Map<String, ?>> instanceAlertMaps,
                                int resource, String[] from, int[] to) {
        super(context, instanceAlertMaps, resource, from, to);
        this.instanceAlertMaps = (List<InstanceAlertMap>) instanceAlertMaps;
    }
}
